/**
 * MineAdmin is committed to providing solutions for quickly building web applications
 * Please view the LICENSE file that was distributed with this source code,
 * For the full copyright and license information.
 * Thank you very much for using MineAdmin.
 *
 * @Author X.Mo<root@imoi.cn>
 * @Link   https://github.com/mineadmin
 */
import type { Plugin } from '#/global'

const pluginConfig: Plugin.PluginConfig = {
  install() {
    // console.log('景区管理插件已启动')
  },
  config: {
    enable: import.meta.env.DEV,
    info: {
      name: 'attractions/attraction-management',
      version: '1.0.0',
      author: 'X.Mo',
      description: '提供景区管理功能',
    },
  },
  views: [
    // {
    //   name: 'AttractionManagementRoute',
    //   path: '/attraction-management',
    //   meta: {
    //     title: '景区管理',
    //     // badge: () => 'Hot',
    //     i18n: 'menu.attraction-management',
    //     icon: 'ep:map-location',
    //     type: 'M',
    //     hidden: false,
    //     subForceShow: true,
    //     breadcrumbEnable: true,
    //     copyright: false,
    //     cache: true,
    //   },
    //   children: [
    //     {
    //       name: 'attraction_tourist_info:attractionTourist',
    //       path: '/attraction-management/attractionUserTouristInfo',
    //       meta: {
    //         title: '游客信息',
    //         i18n: 'attraction_tourist_info.menu.attractionUserTouristInfo',
    //         icon: 'ep:user-filled',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionUserTouristInfo/index.vue'),
    //     },
    //     {
    //       name: 'attraction_user:attractionUser',
    //       path: '/attraction-management/attractionUser',
    //       meta: {
    //         title: '用户管理',
    //         i18n: 'attraction_user.menu.attractionUser',
    //         icon: 'ep:user',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionUser/index.vue'),
    //     },
    //     {
    //       name: 'attraction_type:attractionType',
    //       path: '/attraction-management/attractionType',
    //       meta: {
    //         title: '类型管理',
    //         i18n: 'attraction_type.menu.attractionType',
    //         icon: 'ep:collection-tag',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionType/index.vue'),
    //     },
    //     {
    //       name: 'attraction_booking:attractionUserBooking',
    //       path: '/attraction-management/attractionUserBooking',
    //       meta: {
    //         title: '预约订单',
    //         i18n: 'attraction_booking.menu.attractionUserBooking',
    //         icon: 'ep:tickets',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionUserBooking/index.vue'),
    //     },
    //     {
    //       name: 'attraction_spot:attractionSpot',
    //       path: '/attraction-management/attractionSpot',
    //       meta: {
    //         title: '景点管理',
    //         i18n: 'attraction_spot.menu.attractionSpot',
    //         icon: 'ep:location',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionSpot/index.vue'),
    //     },
    //     {
    //       name: 'attraction_spot_position:attractionPosition',
    //       path: '/attraction-management/attractionSpotPosition',
    //       meta: {
    //         title: '位置管理1',
    //         i18n: 'attraction_spot_position.menu.attractionSpotPosition',
    //         icon: 'ep:position',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionSpotPosition/index.vue'),
    //     },
    //     {
    //       name: 'attraction_tags:attractionTags',
    //       path: '/attraction-management/attractionTags',
    //       meta: {
    //         title: '标签管理',
    //         i18n: 'attraction_tags.menu.attractionTags',
    //         icon: 'ep:price-tag',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionTags/index.vue'),
    //     },
    //     {
    //       name: 'attraction_info:attractionInfo',
    //       path: '/attraction-management/attractionInfo',
    //       meta: {
    //         title: '活动资讯',
    //         i18n: 'attraction_info.menu.attractionInfo',
    //         icon: 'ep:info-filled',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attractionInfo/index.vue'),
    //     },
    //     {
    //       name: 'attraction:attraction',
    //       path: '/attraction-management/attraction',
    //       meta: {
    //         title: '景区管理',
    //         i18n: 'attraction.menu.attraction',
    //         icon: 'ep:office-building',
    //         type: 'M',
    //         hidden: false,
    //         breadcrumbEnable: true,
    //         copyright: true,
    //         cache: true,
    //       },
    //       component: () => import('./views/attraction/index.vue'),
    //     },
    //   ],

    // },
  ],
}

export default pluginConfig
